Torquemada’s Ghost Glue Scripts for UserLand Frontier™
version 1.0
Gives UserLand Frontier™ the ability to control
Torquemada’s Ghost via AppleEvent scripting
Works with Torquemada’s Ghost 1.3.0 and UserLand Frontier 3.0/Runtime 3.0.1
written by Eugene Barnes
CompuServe: 75250,1347
Featuring the TQMGhost Batch Processor
for Frontier Runtime™ users
Introduction:
What? You want a scriptable TQM? No problem! Greg Swann saw the conversation about scripting TQM in the CIS DTP Forum, and within days gave me a scripter’s version of TQM to test. In the process, Greg not only gave TQM the ability to be controlled from Frontier, he also made two other wishes come true.
First, he lifted the 20-translation-pair limit in TQM set files. Now TQM sets can contain an unlimited number of translation pairs. Second, he changed TQM so it would work with set files that have a tab in between the “from” and “to” parts of each translation pair instead of a carriage return. This makes editing set files easier to grasp visually, thus easier to edit. Very important when your file has over 1,000 translation sets!
Because the scriptable version of TQM has little user interface (you don’t need it when you’re driving it with scripts), Greg dubbed this version Torquemada’s Ghost. Scripters can use these glue verbs to write custom applications that incorporate TQMGhost’s incredible search and replace engine.
If you don’t have the full version of Frontier, I have included a script in the glue table called TQM Batch Processor to let Frontier Runtime users take advantage of “Torquemada’s Ghost.”
Installation:
1. Launch your copy of Frontier™ or Frontier Runtime™.
2. Double-click on the installer file “TQMGhost.Frontier.”
3. Dismiss the dialog that tells you installation was successful.
4. If you have the full version of Frontier™, double-click on the “TQM DocServer Text” file to install the verbs in DocServer.
5. The folder “TQM Batch Processor” contains a deskscript to launch the batch processor script. Put it in the location of your choice. It may be kept anywhere on your hard drive. You can also put the file, or an alias of it, in your Apple Menu Items folder to make it available from the Finder’s Apple menu. See the read me file on the TQM Batch Processor for details on what it does and how to use it.
Full-Version Frontier™ users:
Open the table system.verbs.apps.TQMGhost to get to the installed glue verbs. There is a read me document in the table with details on how the verbs work. DocServer will also contain details on the verbs if you installed the DocServer text included. You should also read the documentation for Torquemada’s Ghost to become familiar with how it works. (It is different from past incarnations of Torquemada).
Note:
Although some of the verbs are useful with either the original “Torquemada the Inquisitor” or “Torquemada’s Ghost” (particularly the features that convert files to and from TQM sets), only “Torquemada’s Ghost” can be controlled via scripting. So don’t even try to use the original “Torquemada the Inquisitor” with Frontier if you know what’s good for you! <grin>
And finally:
This is my first major project to go into mass distribution. Although I have carefully tested all this stuff, I may have missed something (after all, the big boys do...why should I be exempt from mistakes?).
If you have any problems, questions, comments, etc. about TQM Ghost Glue Scripts, please direct them to me, not Greg Swann. I am a regular visitor of the UserLand and Desktop Publishing forums on CompuServe. Or write me at the address listed below if you’re not on-line. (Sorry, no phone support yet. This is not my day job.)
This freeware version of TQM Ghost glue scripts was intended to get myself and other scripters up & running with Torquemada’s Ghost and Frontier as quickly as possible. I also have plans in the works to automate other Greg Swann utilities such as Mark My Words. If this sounds interesting to you, e-mail me or send a self-addressed stamped envelope to:
Eugene Barnes
1203 E. 21st Street
Lawrence, KS 66046
I will let you know what’s happening and how to get your hands on this stuff! (And let me know what kind of features you would like to see added. Some of the best ideas come from people who will never write a line of code!) And, no, I will not sell the mailing list to anyone else.
This version of TQMGhost glue scripts is freeware. It may be freely distributed as long as the entire package of scripts, installer files, and read-me files are distributed together intact and unaltered. Including any part of these scripts and accompanying documents with commercially-distributed products is allowed only by the express written consent of the author.
TQM Ghost Glue Scripts is provided “as is”, without any warranties, expressed or implied. The user shall determine the suitability of this product for intended uses, and in no way shall the author be held liable for any resulting damages, direct or consequential.
And, oh yes. Many thanks to Greg Swann for his incredible apps and his quest to keep improving them!